    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

    <f:loadBundle basename="demo.bundle.Messages" var="msg"/>

    <html>
      <head>
        <title> Echo </title> 
      </head>
      <body>
        <f:view>
          <h:form>
              <rich:panel header="#{msg.echo_header}">
              	<h:panelGrid columns="2">
	                <h:inputText size="50" value="#{bean.text}" > 
	                  <a4j:support event="onkeyup" reRender="echo"/>
	                </h:inputText>
	                <h:outputText value="#{bean.text}" id="echo"/>
	                <h:commandButton action="action" actionListener="#{bean.print}" value="#{msg.botton_print}" />
	                <h:commandButton action="#{bean.goTo}" value="#{msg.botton_cancel}" />
              	</h:panelGrid>
              </rich:panel>
          </h:form>
        </f:view>
      </body>
    </html>
